﻿// -----------------------------------------------------------------------
// <copyright file="IImageService.cs" company="EPAM Systems">
////Copyright (c) EPAM Systems, 2012. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------

namespace MBOP.Core.Interfaces.Services
{
	using MBOP.Core.Entities.Common;

	/// <summary>
	/// Provides the common interface of the image operations.
	/// </summary>
	public interface IImageService
	{
		#region Methods

		/// <summary>
		/// Gets the image.
		/// </summary>
		/// <param name="id">The image id.</param>
		/// <returns>The image.</returns>
		Image GetImage(string id);

		/// <summary>
		/// Adds the image
		/// </summary>
		/// <param name="image">The image.</param>
		/// <returns>The image id.</returns>
		string AddImage(Image image);

		#endregion
	}
}
